package jp.sourceforge.akjrcp.ffmpeg;

public class FFMpegOptions {

	public static final String CODEC_VIDEO_WMV1 = "wmv1"; // wmv 7

	public static final String CODEC_VIDEO_WMV2 = "wmv2";// wmv 8

	public static final String CODEC_VIDEO_MSMPEG4 = "msmpeg4";	//classic
	
	public static final String CODEC_VIDEO_MSMPEG4V2 = "msmpeg4v2";

	public static final String CODEC_VIDEO_MSMPEG4V1 = "msmpeg4v1";

	public static final String CODEC_COPY = "copy";

	public static final String NONE = "NONE"; // for null audio.

	public static final String CODEC_VIDEO_HUFFYUV = "huffyuv";

	public static final String CODEC_VIDEO_MJPEG = "mjpeg";

	public static final String CODEC_VIDEO_XVID = "xvid";

	public static final String CODEC_VIDEO_H264 = "h264";

	public static final String CODEC_VIDEO_MPEG1 = "mpeg1video";

	public static final String CODEC_VIDEO_MPEG2 = "mpeg2video";

	public static final String CODEC_VIDEO_MPEG4 = "mpeg4"; //ffmpeg original mpeg4?
	
	public static final String CODEC_VIDEO_H263 = "h263"; //for 3gp? 
	
	public static final String CODEC_VIDEO_VP6F = "vp6f";// flv4

	public static final String CODEC_AUDIO_AAC = "aac";

	public static final String CODEC_AUDIO_MP3 = "mp3";

	public static final String CODEC_AUDIO_WMA1 = "wmav1";

	public static final String CODEC_AUDIO_WMA2 = "wmav2";

	public static final String CODEC_AUDIO_MP2 = "mp2";

	public static final String CODEC_AUDIO_AC3 = "ac3";

	public static final String CODEC_AUDIO_WAV = "pcm_s16le";

	public static final String CODEC_AUDIO_PCM_S16LE = "pcm_s16le";

	

	public static final int AUDIO_RATE_8000 = 8000;

	public static final int AUDIO_RATE_11025 = 11025;

	public static final int AUDIO_RATE_12000 = 12000;

	public static final int AUDIO_RATE_16000 = 16000;

	public static final int AUDIO_RATE_22050 = 22050;

	public static final int AUDIO_RATE_24000 = 24000;

	public static final int AUDIO_RATE_32000 = 32000;

	public static final int AUDIO_RATE_44100 = 44100;

	public static final int AUDIO_RATE_48000 = 48000;

	public static final double VIDEO_RATE_14_985 = 14.985;

	public static final double VIDEO_RATE_15 = 15;

	public static final double VIDEO_RATE_30 = 30;

	public static final double VIDEO_RATE_29_97 = 29.97;

	public static final double VIDEO_RATE_25 = 25;

	public static final double VIDEO_RATE_1 = 1;

	public static final int AUDIO_CHANNEL_STEREO = 2;

	public static final int AUDIO_CHANNEL_MONORAL = 1;

	public static final String SIZE_160x120 = "160x120";

	public static final String SIZE_320x240 = "320x240";

	public static final String SIZE_640x480 = "640x480";

	public static final String SIZE_720x480 = "720x480";

	public static final String SIZE_704x480 = "704x480";

	public static final String SIZE_752x480 = "752x480";

	public static final String SIZE_352x240 = "352x240";// for mpeg1

	public static final String SIZE_512x384 = "512x384";// nikoniko

	public static final int LEVEL_21 = 21;

	public static final int LEVEL_30 = 30;

	public static final String TAG_XVID = "XVID";// for virtualdub

	public static final String TAG_VP62VIDEO = "VP62";

	public static final String TAG_MP4VIDEO = "mp4v";

	public static final String ASPECT_1x1 = "1:1";

	public static final String ASPECT_4x3 = "4:3";

	public static final String ASPECT_16x9 = "16:9";

	public static final String TARGET_NTSC_DVD = "ntsc-dvd";

	public static final String FORMAT_PSP = "psp";

	public static final String FORMAT_MP4 = "mp4";
	
	public static final String FORMAT_DVD = "dvd";
	public static final String FORMAT_3GP = "3gp";
	public static final String FORMAT_3G2 = "3g2";
	public static final String FORMAT_MOV = "mov";
	public static final String FORMAT_S16LE = "s16le";
	

	public static final String EXTENSION_MP4 = "mp4";

	public static final String EXTENSION_WAV = "wav";

	public static final String EXTENSION_JPEG = "jpg";

	public static final String EXTENSION_PNG = "png";

	public static final String EXTENSION_WMV = "wmv";

	public static final String EXTENSION_AVI = "avi";

	public static final String EXTENSION_MPEG = "mpg";

	public static final String EXTENSION_MP3 = "mp3";

	public static final String CODEC_AUDIO_LIB_MP3LAME = "libmp3lame";

	public static final String CODEC_AUDIO_LIB_FAAC = "libfaac";

	public static final String CODEC_VIDEO_LIB_XVID = "libxvid";

	public static final String CODEC_VIDEO_LIB_X264 = "libx264";

	public static final String FLAGS_BITEXACT = "bitexact";

	/**
	 * flags trell no more supported
	 * @deprecated
	 */
	public static final String FLAGS_TRELL = "trell"; 

	public static final String IMAGE_SIZE_160x120="160x120";	//thumb

	public static final int BITRATE_768=768;	//for firm ware 2.8

	public static final int BITRATE_384=384;	//level 1.2

	public static final int BITRATE_MAX_LEVEL21_4000=4000;	//see http://en.wikipedia.org/wiki/H264

	public static final int BITRATE_MAX_LEVEL30_10000=10000;

	//for PSP
	public static final String SIZE_352x480="352x480";	//H264 only
	public static final String SIZE_480x272="480x272";	//H264 only 
	public static final String SIZE_368x208="368x208";
	
	//16:9
	public static final String SIZE_192x112="192x112";
	public static final String SIZE_368x272="368x272"; //h264
	//4:3
	public static final String SIZE_160x112="160x112";


	public static final String OPTION_INPUT = "i";

	public static final String OPTION_OVERWRITE = "y";

	public static final String OPTION_AUDIO_CODEC = "acodec";

	public static final String OPTION_AUDIO_RATE = "ar";

	public static final String OPTION_AUDIO_BITRATE = "ab";

	public static final String OPTION_AUDIO_CHANNEL = "ac";

	public static final String OPTION_DISABLE_AUDIO = "an";

	public static final String OPTION_DISABLE_VIDEO = "vn";

	public static final String OPTION_VIDEO_CODEC = "vcodec";

	public static final String OPTION_VIDEO_RATE = "r";

	public static final String OPTION_VIDEO_BITRATE = "b";

	public static final String OPTION_VIDEO_MIN_BITRATE = "minrate"; // for
																		// cbr

	public static final String OPTION_VIDEO_MAX_BITRATE = "maxrate"; // for
																		// cbr

	public static final String OPTION_VIDEO_BUFFER_SIZE = "bufsize";

	public static final String OPTION_VIDEO_SIZE = "s";

	public static final String OPTION_VIDEO_ASPECT = "aspect";

	public static final String OPTION_FORMAT = "f";

	public static final String OPTION_TARGET = "target";

	public static final String OPTION_QMAX = "qmax";

	public static final String OPTION_QMIN = "qmin";

	public static final String OPTION_MBD = "mbd";

	public static final String OPTION_FLAGS = "flags";

	public static final String OPTION_CODER = "coder";

	public static final String OPTION_LEVEL = "level";
	
	public static final String OPTION_BT = "bt";

	public static final String OPTION_MAXRATE = "maxrate";

	public static final String OPTION_BUFSIZE = "bufsize";

	public static final String OPTION_SIZE = "s";
	
	
	public static final String OPTION_LOOP = "loop";

	public static final String OPTION_LOOP_INPUT = "loop_input";

	public static final String OPTION_SHORTEST = "shortest";

	public static final String OPTION_THREADS = "threads";

	public static final String OPTION_DEINTERLACE = "deinterlace";
	public static final String OPTION_MAP = "map";
	
	public static final String OPTION_VTAG = "vtag";
	public static final String CODER_0 = "0";//ipod
	public static final String CODER_1 = "1";//psp
	
	public static final String OPTION_RC_EQ="rc_eq";
	public static final String RC_EQ_X264="blurCplx^(1-qComp)";
}
